package com.snail.billing.net;

public class BillingSecurity {

	public String accessId;
	public String accessType;
	public String accessPasswd;
	public String seed;

	static {
		System.loadLibrary("snail-billing");
	}

	public static native String getSecurityValue(int index);

	public static final BillingSecurity securitySandbox = new BillingSecurity("16", "1", "", "");
	public static final BillingSecurity securitySandbox2 = new BillingSecurity("16", "1", "2O3I4J21L2K3J", "A223L1J2H3S0DF98SKLJ");
	public static final BillingSecurity securitySandbox3 = new BillingSecurity("31", "5", "qsahy6NY3IQLF", "RxrO6S2OTAoeE3FKGE");

	public static final BillingSecurity security = new BillingSecurity(getSecurityValue(0), getSecurityValue(1), getSecurityValue(2), getSecurityValue(3));

	public BillingSecurity(String accessId, String accessType, String accessPasswd, String seed) {
		this.accessId = accessId;
		this.accessType = accessType;
		this.accessPasswd = accessPasswd;
		this.seed = seed;
	}

}
